package work;

import java.util.ArrayList;
import java.util.Arrays;
/**
 * @author AYQ
 * @Title:
 * @Description:
 * @date 2020/4/1813:50
 */
public class Student {

    private String name;
    private ArrayList<String> courses = new ArrayList<String>();


    /**
     * 构造函数
     */
    public Student() {
    }

    public Student(String name, ArrayList<String> courses) {
        this.name = name;
        this.courses = courses;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public ArrayList<String> getCourses() {
        return courses;
    }

    public void setCourses(ArrayList<String> courses) {
        this.courses = courses;
    }
}
